package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 岗位提醒
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_POST_REMIND")
public class IgPostRemind extends Model<IgPostRemind> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("POST_REMIND_ID")
    private String postRemindId;

    /**
     * 监督类型主键
     */
    @TableField("SUPERVISION_TYPE_ID")
    private String supervisionTypeId;

    /**
     * 风险类型
     */
    @TableField("RISK_TYPE")
    private String riskType;

    /**
     * 风险点
     */
    @TableField("RISK_POINT")
    private String riskPoint;

    /**
     * 风险等级
     */
    @TableField("RISK_LEVEL")
    private String riskLevel;

    /**
     * 创建人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private LocalDateTime createDate;

    /**
     * 修改人
     */
    @TableField("EDIT_OP")
    private String editOp;

    /**
     * 修改时间
     */
    @TableField("EDIT_DATE")
    private LocalDateTime editDate;


    public String getPostRemindId() {
        return postRemindId;
    }

    public IgPostRemind setPostRemindId(String postRemindId) {
        this.postRemindId = postRemindId;
        return this;
    }

    public String getSupervisionTypeId() {
        return supervisionTypeId;
    }

    public IgPostRemind setSupervisionTypeId(String supervisionTypeId) {
        this.supervisionTypeId = supervisionTypeId;
        return this;
    }

    public String getRiskType() {
        return riskType;
    }

    public IgPostRemind setRiskType(String riskType) {
        this.riskType = riskType;
        return this;
    }

    public String getRiskPoint() {
        return riskPoint;
    }

    public IgPostRemind setRiskPoint(String riskPoint) {
        this.riskPoint = riskPoint;
        return this;
    }

    public String getRiskLevel() {
        return riskLevel;
    }

    public IgPostRemind setRiskLevel(String riskLevel) {
        this.riskLevel = riskLevel;
        return this;
    }

    public String getCreateOp() {
        return createOp;
    }

    public IgPostRemind setCreateOp(String createOp) {
        this.createOp = createOp;
        return this;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public IgPostRemind setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
        return this;
    }

    public String getEditOp() {
        return editOp;
    }

    public IgPostRemind setEditOp(String editOp) {
        this.editOp = editOp;
        return this;
    }

    public LocalDateTime getEditDate() {
        return editDate;
    }

    public IgPostRemind setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.postRemindId;
    }

    @Override
    public String toString() {
        return "IgPostRemind{" +
        "postRemindId=" + postRemindId +
        ", supervisionTypeId=" + supervisionTypeId +
        ", riskType=" + riskType +
        ", riskPoint=" + riskPoint +
        ", riskLevel=" + riskLevel +
        ", createOp=" + createOp +
        ", createDate=" + createDate +
        ", editOp=" + editOp +
        ", editDate=" + editDate +
        "}";
    }
}
